﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {

            int RabbitLegNum = 4;
            int GooseLegNum = 2;
            int TotalLegs = 64;


            for (int RabbitNum = 0; RabbitNum <= TotalLegs / RabbitLegNum; RabbitNum++)
            {

                int GooseNum = (TotalLegs - RabbitLegNum * RabbitNum) / GooseLegNum;


                Console.Write("Goose:  " + GooseNum);
                Console.WriteLine("    Rabbits:  " + RabbitNum);
                 

            }

        }
    }
}
